/**
 * Created by IntelliJ IDEA.
 * User: vhly[FR]
 * Date: 2007-9-15
 * Time: 22:12:39
 *
 */
public class GetString {
    public static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x16;
        return ac;
    }
    private static String z(char ac[]) {
        for (int i = 0; i < ac.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x17;
                    break;
                case 1:
                    key = 89;
                    break;
                case 2:
                    key = 32;
                    break;
                case 3:
                    key = 94;
                    break;
                default:
                    key = 104;
                    break;
            }
            ac[i] ^= key;
        }
        return new String(ac).intern();
    }
    public static void main(String... args) {
        String as[] = new String[1];
        as[0] = "{0N;Fd<P?\032v-O,";
        
        for (int i = 0; i < as.length; i++) {
            as[i] = z(as[i].toCharArray());
        }
        System.out.println("z={");
        for(int i = 0;i<as.length;i++){
//            as[i] = as[i].replaceAll("\"","\\\"");
            as[i] = as[i].replace("\"","\\\"");
            System.out.print("\""+as[i]+"\",");
            if(i % 5 == 0)
                System.out.println();
        }
        System.out.println("};");
    }
}
